package com.demo.scenic.mapper;

import com.demo.scenic.domain.TimePeriod;
import com.demo.scenic.domain.TimePeriodExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface TimePeriodMapper {
    long countByExample(TimePeriodExample example);

    int deleteByExample(TimePeriodExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TimePeriod record);

    int insertSelective(TimePeriod record);

    List<TimePeriod> selectByExample(TimePeriodExample example);

    TimePeriod selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TimePeriod record, @Param("example") TimePeriodExample example);

    int updateByExample(@Param("record") TimePeriod record, @Param("example") TimePeriodExample example);

    int updateByPrimaryKeySelective(TimePeriod record);

    int updateByPrimaryKey(TimePeriod record);
}